-
Notifications
You must be signed in to change notification settings - Fork 8.4k
feat: add apiKeyHelper and apiKeyRefreshInterval options for dynamic API key management #8817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
…API key management
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate Found:
Why they might be related: Both PRs address dynamic API key management. PR #8198 adds |
|
@thdxr please review this PR. this is a super important feature for users using litellm proxy with rotating api key expiratiion |
Co-authored-by: Nicolas Karolak <[email protected]>
|
The so for long running sessions, this will provide stale sdk without calling the apiHelper again opencode/packages/opencode/src/provider/provider.ts Lines 1086 to 1089 in c130dd4
|
What do you think how we should resolve it? |
|
This would work well for our use case - we have a credential helper that issues short-lived tokens (55-minute validity for tokens), so the Our setup:
Happy to help with this. |
Closes #1302